Spring Boot Kotlin API
Toggle table of contents
4.0.0-SNAPSHOT
jvm
Target filter
jvm
Switch theme
Search in API
Skip to content
Spring Boot Kotlin API
Spring Boot Kotlin API
/
org.springframework.boot.docs.testing.springbootapplications.jmx
Package-level
declarations
Types
Types
My
Jmx
Tests
Link copied to clipboard
@
SpringBootTest
(
properties
=
[
"spring.jmx.enabled=true"
]
)
@
DirtiesContext
class
MyJmxTests
(
@
Autowired
val
mBeanServer
:
MBeanServer
)
Sample
App
Link copied to clipboard
@
SpringBootConfiguration
@
ImportAutoConfiguration
(
value
=
JmxAutoConfiguration::class
)
open
class
SampleApp
@
SpringBootConfiguration
@
ImportAutoConfiguration
(
value
=
[
JmxAutoConfiguration::class
]
)
class
SampleApp